<h6 id='items_title'>所有预订项
<%if can_edit && order.can_be_edited_by_current_user? #是show页面，并且是当前用户编辑%>
<%= link_to '新增', new_order_item_order_url(order), :remote => true, :method => :get, :title => '增加预订项', :class => 'crud new' %>
<%end%>
</h6>
<div class='page'>
  共<b><%=order.order_items.size%></b>项
</div>
<%= render :partial => 'orders/order_items/table_in_index.html', :locals => { :can_edit => can_edit, :order => order} %>
<div class='page b_page'>
  共<b><%=order.order_items.size%></b>项
</div>
<div id="item_form" class="grid_15 push_1">
</div>
